package com.code.design.model.demo.factory.simplefactorypattern;

/**
 * 客户端
 *
 * @author tangyifei
 */
public class Client {

    public static void main(String[] args) {
        MaskFactory factory = new MaskFactory();
        IMask maskA = factory.createMask("高端口罩");
        IMask maskB = factory.createMask("低端口罩");
        maskA.show();
        maskB.show();
    }
}
